Skip to content

Web Vitals Reference#80

Open
mbenach wants to merge 12 commits into
Blazemeter:mainfrom
keithpuzey:main
Open

Web Vitals Reference#80
mbenach wants to merge 12 commits into
Blazemeter:mainfrom
keithpuzey:main

Conversation

@mbenach

@mbenach mbenach commented May 26, 2026

Copy link
Copy Markdown

A reference for the Core web vitals metrics and the additional metrics we are pulling
webvitals.md

metadata["regions"] = regions

# Save updated metadata
with open(metadata_file, 'w') as f:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mend Code Security Check

New finding (1 of 2)

The Mend Code Security Check of your branch failed because of a Path/Directory Traversal finding in this line.

SeverityVulnerability TypeCWEFileData FlowsDetected
HighPath/Directory Traversal

CWE-22

fetch_blazemeter_metadata.py:163

12026-06-02 09:56am
Vulnerable Code

existing_sessions = metadata.get("sessions", [])
regions = sorted({s.get("location") for s in existing_sessions if s.get("location")})
metadata["regions"] = regions
# Save updated metadata
with open(metadata_file, 'w') as f:

1 Data Flow/s detected

metadata_file = Path(execution_dir) / "execution-metadata.json"

Secure Code Warrior Training Material

● Training

   ▪ Secure Code Warrior Path/Directory Traversal Training

● Videos

   ▪ Secure Code Warrior Path/Directory Traversal Video

● Further Reading

   ▪ OWASP Path Traversal

   ▪ OWASP Input Validation Cheat Sheet

Suppress Finding
  • ... as False Alarm
  • ... as Acceptable Risk

Note: GitHub may take a few seconds to process actions triggered via checkboxes.
Please wait until the change is visible before continuing.


# Load existing metadata
metadata_file = Path(execution_dir) / "execution-metadata.json"
with open(metadata_file, 'r') as f:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mend Code Security Check

New finding (2 of 2)

The Mend Code Security Check of your branch failed because of a Path/Directory Traversal finding in this line.

SeverityVulnerability TypeCWEFileData FlowsDetected
HighPath/Directory Traversal

CWE-22

fetch_blazemeter_metadata.py:142

12026-06-02 09:56am
Vulnerable Code

fetcher.close()
# Load existing metadata
metadata_file = Path(execution_dir) / "execution-metadata.json"
with open(metadata_file, 'r') as f:

1 Data Flow/s detected

metadata_file = Path(execution_dir) / "execution-metadata.json"

Secure Code Warrior Training Material

● Training

   ▪ Secure Code Warrior Path/Directory Traversal Training

● Videos

   ▪ Secure Code Warrior Path/Directory Traversal Video

● Further Reading

   ▪ OWASP Path Traversal

   ▪ OWASP Input Validation Cheat Sheet

Suppress Finding
  • ... as False Alarm
  • ... as Acceptable Risk

Note: GitHub may take a few seconds to process actions triggered via checkboxes.
Please wait until the change is visible before continuing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants